package com.haoqizhe.kernel.commons.constants;

/**
 * Header的key罗列
 * @author haoqizhe.li
 * @date 2018/4/2 22:28
 */
public class HeaderConstants {
    /**
     * 用户的登录token
     */
    public static final String X_TOKEN = "X-Token";

    /**
     * api的版本号
     */
    public static final String API_VERSION = "Api-Version";

    /**
     * app版本号
     */
    public static final String APP_VERSION = "App-Version";

    /**
     * 调用来源
     */
    public static final String CALL_SOURCE = "Call-Source";

    /**
     * USER SESSION KEY 用户登录session key
     */
    public static final String USER_SESSION_KEY = "user-key";
    /**
     * USER_REDIS_KEY 用户
     */
    public static final String USER_REDIS_KEY = "user:key";

    public static final String ADMIN_USER = "admin";

    public static final String AUTHORIZATION = "Authorization";

    public static final String TOKEN_PREFIX = "Bearer ";

}
